package com.atguigu.auth.mapper;

import com.atguigu.model.system.SysRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * ClassName SysRoleMapper
 * Package: com.atguigu.auth.mapper
 * ProjectName guigu-oa-parent
 * Description:
 *
 * @Author: 比特张
 * @Create: 2023/4/17 - 15:58
 * @Version: v1.0
 */
//@Repository //直接用这个会报错，因为容器没有扫描到
//解决方法1：在启动类加上 @MapperScan("com.atguigu.auth.mapper")
//解决方法2：  @Mapper
@Mapper
public interface SysRoleMapper extends BaseMapper<SysRole> {
}
